// Copyright (c) 1006-2007 Zorm
// Released under the MIT License

#ifndef RADARSITES_H
#define RADARSITES_H
#pragma once

#include <fstream>
#include <vector>
#include <algorithm>
#include <iterator>
#include "pugixml.hpp"

using namespace pugi;

struct RadarSite {
	std::string siteID;
	std::string desc;
};

struct RadarState {
	std::string stateName;
	std::vector<RadarSite*> sites;
};

class RadarSites {

public:
	RadarSites();
	void FillStates(HWND statesCombo);
	void FillSites(HWND sitesCombo, int index);
	void SetupRadarSite(int stateIndex, int siteIndex, int productIndex);
	
private:
	std::vector<RadarState*> m_states;
};

#endif